package com.lanyun.auth.convert.authRole;

import com.lanyun.auth.basic.entity.AuthRole;
import com.lanyun.auth.controller.admin.authRole.vo.AuthRoleRequestVO;
import com.lanyun.auth.controller.admin.authRole.vo.AuthRoleResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author Jqcc
 * @Version 1.0
 * @Data 2025/3/12
 */
@Mapper
public interface AuthRoleConvert {
    AuthRoleConvert INSTANCE = Mappers.getMapper(AuthRoleConvert.class);

    AuthRole convert(AuthRoleRequestVO authRoleRequestVO);

    AuthRoleResponseVO convert(AuthRole authRole);
}
